<%@page import="cn.lei.Student"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

</head>
<body>
	<%
		Student student = (Student)request.getAttribute("student");
	%>

	<form action="/Java1807Web/student?method=update" method="post">
		<input type="hidden" name="id" value="<%=student.getId()%>"/>	<!--隐形标签 -->
		姓名:<input type="text" name="name" value = <%=student.getName()%>><br>
		年龄:<input type="text" name="age" value = <%=student.getAge() %>><br>
		性别:<input type="text" name="gender"value = <%=student.getGender() %>><br>
		<input type="submit" value="修改"/>	<!-- 提交到form action的地址 -->
		<input type="reset" value="重置"/>
		
	</form>


</body>
</html>